package com.tangyuan.live.entity.dto;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class GiveGiftDto {

    @NotNull(message = "请选择直播间")
    private Long roomId;

    @NotNull(message = "请选择礼物")
    private Long giveId;

    @NotNull(message = "请输入礼物数量")
    @Min(value = 1,message = "请输入礼物数量")
    private Integer count;
}
